JavaScript

listObj.editInplaceCancel Method

Syntax

listObj.editInplaceCancel(rowNum)

Arguments

rowNumnumber

Zero-based row number to cancel edits. "0" corresponds to the first row in the list.

Description

Cancel edits to a row in an List with in-place editing.

Discussion

The .editInplaceCancel() method cancels edits made to a row that is in Edit mode.

Example

var lObj = {dialog.object}.getControl('LIST1');
if (lObj) {
    // Cancel edits to the third row in the list:
    lObj.editInplaceCancel(2);
}

Limitations

List Control with In-place Editing Enabled

See Also